package com.exam.serviceimpl;

import com.baomidou.mybatisplus.core.metadata.IPage;


import com.exam.entity.Page;
import com.exam.mapper.AnswerMapper;
import com.exam.service.AnswerService;
import com.exam.vo.AnswerVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AnswerServiceImpl implements AnswerService {

    @Autowired
    private AnswerMapper answerMapper;



    @Override
    public IPage<AnswerVO> findAll(Page<AnswerVO> page) {
        return answerMapper.findAll(page);
    }


    @Override
    public IPage<AnswerVO> findAllLike(Page<AnswerVO> page, String msg) {
        return answerMapper.findAllLike(page,msg);
    }
}
